package com.semeureka.fault.dao;

import java.util.Date;

import com.semeureka.fault.bean.Device;
import com.semeureka.fault.bean.Device.Phase;
import com.semeureka.fault.bean.Group;

public interface DeviceDao {
	Device findByCode(byte[] code);

	Device findByGroupPhase(Group group, Phase phase);

	void updateTime(Group group, Phase phase, Date createTime);
}
